package com.naire.modul.cusorg.service;

import java.util.List;

import net.common.service.GeneralService;

import com.naire.modul.cusorg.dao.CusorgDao;
import com.naire.modul.cusorg.dao.impl.CusorgDaoImpl;
import com.naire.modul.cusorg.vo.CusorgVo;
import com.naire.modul.customer.vo.FieldVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class CusorgFindService extends GeneralService {

	private CusorgVo bean;
	private Integer id;
	private List<FieldVo> fields = null;

	@Override
	public void execute() throws Exception {
		// 客户自定义
		if (id != null) {
			CusorgDao dao = new CusorgDaoImpl();
			bean = dao.find(id);
		}
	}

	public CusorgVo getBean() {
		return bean;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public List<FieldVo> getFields() {
		return fields;
	}

}
